interface Pay{
    (price: number):boolean
}

const pp: Pay = (price: number) => true;
console.log(pp(55));